package com.cloud.tio.tiocloud;

import com.cloud.tio.tiocloud.tio.server.starter.ServerStarter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;

@SpringBootApplication
public class TioCloudApplication {

    public static void main(String[] args) throws IOException {
        SpringApplication.run(TioCloudApplication.class, args);
        System.out.println("-------------------------------------\n" +
                "(♥◠‿◠)ﾉﾞ  服务端启动成功   ლ(´ڡ`ლ)ﾞ\n" +
                "-------------------------------------");
        // 启动服务端
        ServerStarter.run();
    }

}
